package com.hfp.entity;

import lombok.Data;
@Data
//@AllArgsConstructor // 全参构造器
//@NoArgsConstructor // 无参构造器
public class User {
    private String name;
    private int age;
    private String sex;

    public User(){
        System.out.println("User的构造函数");
    }
}

